Advertisement
Guest User

Untitled

a guest
May 25th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # HAL addition to only allow the Laser to fire when the M3 command is issued
  2. # AND the rotary axis (B) is moving
  3.  
  4. loadrt comp count=1
  5. setp comp.0.in0 0.1
  6. net moving comp.0.in1 => motion.current-vel
  7. addf comp.0 servo-thread
  8.  
  9. loadrt and2 count=1
  10. addf and2.0 servo-thread
  11. net atspeed and2.0.in0 => comp.0.out
  12. net mcode and2.0.in1 => motion.spindle-on
  13.  
  14. net goodtogo parport.0.pin-17-out <= and2.0.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement